package com.gitee.neuray.security.modules.param.dao;

import com.gitee.neuray.security.modules.param.entity.EngineParamEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigInteger;
import java.util.List;
import java.util.Map;

/**
 * 发动机参数关联表
 * 
 * @author neuray
 * @email neuray@neuray.com
 * @date 2020-09-17 10:29:11
 */
@Mapper
public interface EngineParamDao extends BaseMapper<EngineParamEntity> {

    void saveParam(@Param("list") List<Map> list, @Param("tableName") String tableName);
    void updateParam(@Param("list") List<Map> list, @Param("tableName") String tableName,@Param("id") Long id);
    void deleteParam(@Param("tableName") String tableName,@Param("list") List<Long> list);

    void saveList(@Param("list") List<String> list, @Param("tableName") String tableName);
}
